From c675c9215b418c9171077c0bc09b4b6a200363b2 Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Sun, 27 Nov 2005 10:46:26 +0000 Subject: [PATCH] Fix console handling; saveLog call was broken if ConsoleError occurred. Signed-off-by: Ewan Mellor --- tools/xm-test/tests/create/14_create_blockroot_pos.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/xm-test/tests/create/14_create_blockroot_pos.py b/tools/xm-test/tests/create/14_create_blockroot_pos.py index c9b0f100fb..5f583f2a9f 100644 --- a/tools/xm-test/tests/create/14_create_blockroot_pos.py +++ b/tools/xm-test/tests/create/14_create_blockroot_pos.py @@ -36,6 +36,10 @@ waitForBoot() try: console = XmConsole(domain.getName(), historySaveCmds=True) +except ConsoleError, e: + FAIL(str(e)) + +try: # console.debugMe = True console.sendInput("foo") run = console.runCmd("ls") -- 2.30.2